home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / sheriffa / slsdemov.h < prev    next >
C/C++ Source or Header  |  1999-05-18  |  2KB  |  64 lines

  1. // SlsDemoView.h : interface of the CSlsDemoView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. #if !defined(AFX_SLSDEMOVIEW_H__9FE45CDC_230F_11D1_A3B6_000000000000__INCLUDED_)
  6. #define AFX_SLSDEMOVIEW_H__9FE45CDC_230F_11D1_A3B6_000000000000__INCLUDED_
  7.  
  8. #if _MSC_VER >= 1000
  9. #pragma once
  10. #endif // _MSC_VER >= 1000
  11.  
  12. class CSlsDemoView : public CView
  13. {
  14. protected: // create from serialization only
  15.     CSlsDemoView();
  16.     DECLARE_DYNCREATE(CSlsDemoView)
  17.  
  18. // Attributes
  19. public:
  20.     CSlsDemoDoc* GetDocument();
  21. // Operations
  22. public:
  23.  
  24. // Overrides
  25.     // ClassWizard generated virtual function overrides
  26.     //{{AFX_VIRTUAL(CSlsDemoView)
  27.     public:
  28.     virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  29.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  30.     protected:
  31.     virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  32.     virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
  33.     virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
  34.     //}}AFX_VIRTUAL
  35.  
  36. // Implementation
  37. public:
  38.     virtual ~CSlsDemoView();
  39. #ifdef _DEBUG
  40.     virtual void AssertValid() const;
  41.     virtual void Dump(CDumpContext& dc) const;
  42. #endif
  43.  
  44. protected:
  45.  
  46. // Generated message map functions
  47. protected:
  48.     //{{AFX_MSG(CSlsDemoView)
  49.     //}}AFX_MSG
  50.     DECLARE_MESSAGE_MAP()
  51. };
  52.  
  53. #ifndef _DEBUG  // debug version in SlsDemoView.cpp
  54. inline CSlsDemoDoc* CSlsDemoView::GetDocument()
  55.    { return (CSlsDemoDoc*)m_pDocument; }
  56. #endif
  57.  
  58. /////////////////////////////////////////////////////////////////////////////
  59.  
  60. //{{AFX_INSERT_LOCATION}}
  61. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  62.  
  63. #endif // !defined(AFX_SLSDEMOVIEW_H__9FE45CDC_230F_11D1_A3B6_000000000000__INCLUDED_)
  64.